@extends('home.layout')
@section('content')
<script type="text/javascript">
    $(function(){
        $("#logout").css('top','-10px');
    });
</script>
  <div class="wrapper insidepage">
    <div class="tqyouxiban">
      <div class="modwp">

        <div class="huodongban hd_gameban">
          <div class="hdbanbox">
            <a index="0" target="_blank" clickid="v_pc_hygw_ggong_ad_gameindex1" href="http://act.niu.xunlei.com/2016/dtxhyzx/?advNo=201510161305268655&referfrom=v_pc_hygw_ggong_ad_gameindex1" class="img_wp" title="范伟打天下" id="showPic">
                <img class="" src="{{url('/home/picture/201609121928528895.jpg')}}" alt="">
            </a>
            <div index="2" clickid="v_pc_hygw_ggong_ad_gameindex3" class="bansidmol bsid01">
                <a target="_blank" href="http://act.vip.xunlei.com/vip/2016/cxfl/?referfrom=v_pc_hygw_ggong_ad_gameindex3" class="img_wp" title="游戏特权春夏季福利来袭">
                        <img class="" src="{{url('/home/picture/201604281800025746.jpg')}}" alt="">
                </a>
            </div>
            <div index="1" class="bansidmol bsid02">
                <a target="_blank" clickid="v_pc_hygw_ggong_ad_gameindex2" href="http://act.niu.xunlei.com/2016/lycqhyzh/?advNo=201510161305268655&referfrom=v_pc_hygw_ggong_ad_gameindex2" class="img_wp" title="蓝月传奇">
                    <img class="" src="{{url('/home/picture/201607011600327168.jpg')}}" alt="">
                </a>
            </div>
            <div class="interlinkbox">
              <a href="#" class="linkup" id="scroll-left" title="上一个">上一个</a>
              <a href="#" class="linknext" id="scroll-right" title="下一个">下一个</a>
            </div>

          </div>
          <!-- hdbanbox end -->

          <script>var luboData=[{"order":"1","img_upload":"http:\/\/img.vip.xunlei.com\/img\/banner\/201609121928528895.jpg","link":"http:\/\/act.niu.xunlei.com\/2016\/dtxhyzx\/?advNo=201510161305268655&referfrom=v_pc_hygw_ggong_ad_gameindex1","title":"\u8303\u4f1f\u6253\u5929\u4e0b","is_select":"1","block_detailid":"15743","clickid":"v_pc_hygw_ggong_ad_gameindex1"},{"order":"2","img_upload":"http:\/\/img.vip.xunlei.com\/img\/banner\/201607011600327168.jpg","link":"http:\/\/act.niu.xunlei.com\/2016\/lycqhyzh\/?advNo=201510161305268655&referfrom=v_pc_hygw_ggong_ad_gameindex2","title":"\u84dd\u6708\u4f20\u5947","is_select":"1","block_detailid":"14531","clickid":"v_pc_hygw_ggong_ad_gameindex2"},{"order":"3","img_upload":"http:\/\/img.vip.xunlei.com\/img\/banner\/201604281800025746.jpg","link":"http:\/\/act.vip.xunlei.com\/vip\/2016\/cxfl\/?referfrom=v_pc_hygw_ggong_ad_gameindex3","title":"\u6e38\u620f\u7279\u6743\u6625\u590f\u5b63\u798f\u5229\u6765\u88ad","is_select":"1","block_detailid":"13422","clickid":"v_pc_hygw_ggong_ad_gameindex3"}]</script>
          <div class="hdbansid">
            <div class="gamelogbox" style="display:none" id="login-box">
              <div id="user-info">

              </div>

              <div class="nownew">
                <p class="newtit">最新公告</p>
                <ul class="newlist">
                  <li>
                        <a href="http://act.vip.xunlei.com/vip/2016/cxfl/" target="_blank" class="c_gray" title="游戏特权盛夏福利：最高送1个月白金会员&gt;&gt;">游戏特权盛夏福利：最高送1个月白金会员&gt;&gt;</a>
                    </li><li>
                        <a href="http://act.niu.xunlei.com/2016/lycqhyzh/?advNo=201510168407126918" target="_blank" class="c_gray" title="玩蓝月传奇，领取白金会员&gt;&gt;">玩蓝月传奇，领取白金会员&gt;&gt;</a>
                    </li> </ul>
              </div>
            </div>

            <div class="game_sidlogbox"  id="unlogin-box">
              <div class="log_type">
                  <p class="logbtn"><a name="login" title="用户登录" class="link_logbtn" href="javascript:void(0)"><span class="iconlog"><i class="i01"></i><i class="i02"></i></span>用户登录</a></p>
              </div>
              <p class="typebtn btn_wp"><a title="开通迅雷会员" class="btn_red pay-vip" href="javascript:void(0)">开通迅雷会员</a></p>
              <p class="logtip">高速下载、离线空间、在线云播<br>快鸟提速等30多项特权等你享受</p>
            </div>

          </div>
          <!-- hdbansid end -->
        </div>

      </div>
    </div>
    <!-- tqyouxiban end -->

    <div class="modwp">

      <div class="youximainlist modmag">
        <div class="game_alltypebox">
          <span class="game_alltit"> <em class="icontit"></em>
            全部游戏
          </span>
          <div class="game_allcon">
            <div class="game_allnav">
              <ul class="">
                <li class="on">网络游戏</li>
                <li>页面游戏</li>
                <li>手机游戏</li>
              </ul>
            </div>
            <div class="game_linkcon">
              <p class="link_box"><a title="神武2" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2016/sw2/">神武2</a><a title="西楚霸王" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2016/bw/">西楚霸王</a><a title="御龙在天" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2016/ylzt/?referfrom=v_pc_hygw_hytq_lbtq_ylzt519">御龙在天</a><a title="怪物猎人" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/mho/?referfrom=v_pc_hygw_ggong_ad_wylb3">怪物猎人</a><a title="大国" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/dg/?referfrom=v_pc_hygw_ggong_ad_wylb1">大国</a><a title="魔侠传" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/mxz/?referfrom=v_pc_hygw_ggong_ad_wylb2">魔侠传</a><a title="天下3" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/tx3/?referfrom=v_pc_hygw_ggong_ad_wylb4">天下3</a><a title="远征" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/yzgame/?referfrom=v_pc_hygw_hytq_lbtq_yz1127">远征</a><a title="亿酷棋牌世界" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/game/2016/eku/">亿酷棋牌世界</a></p><p class="link_box" style="display:none"><a title="传奇盛世" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/game/2015/cqss/?referfrom=v_pc_hygw_hytq_ad_yxtq_cqss">传奇盛世</a><a title="风暴大陆" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/game/2015/fbdl/?referfrom=v_pc_hygw_hytq_ad_yxtq_fbdl">风暴大陆</a><a title="皇图" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/game/2015/ht/?referfrom=v_pc_hygw_hytq_ad_yxtq_ht">皇图</a><a title="勇者盟约" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/game/2015/yzmy/?referfrom=v_pc_hygw_hytq_ad_yxtq_yzmy">勇者盟约</a><a title="蓝月传奇" class="link_gname" target="_blank" href="http://act.niu.xunlei.com/2016/lycqhyzh/?advNo=201510162725616290">蓝月传奇</a></p><p class="link_box" style="display:none"><a title="JJ斗地主" class="link_gname" target="_blank" href="http://act.vip.xunlei.com/vip/2015/jjgame">JJ斗地主</a></p> </div>
          </div>
        </div>
      </div>
      <!-- youximainlist end -->

      <div class="youximainlist modmag" id="libao">

        <div class="modtit">
          <h2>热门游戏活动</h2>

        </div>

        <div class="gameyouxitq gameyouxitqbig">
          <div class="rowline">
            <ul class="nol-item">
              <li class="">
                          <p class="fuwuimg">
                              <a title="" class="" target="_blank" href="http://act.niu.xunlei.com/2016/dtxhyzx/?advNo=201510160847712485&referfrom=v_pc_hygw_ggong_ad_wylb1" clickid="v_pc_hygw_ggong_ad_wylb1">
                                  <img width="286" height="230" class="" src="{{url('/home/picture/201609121932015823.jpg')}}" alt="">
                              </a>
                              <a class="iconyx ic_dy" title=""></a>
                          </p>
                          <div class="gametqinfos">
                              <p class="gametqname"><a target="_blank" href="http://act.niu.xunlei.com/2016/dtxhyzx/?advNo=201510160847712485&referfrom=v_pc_hygw_ggong_ad_wylb1" clickid="v_pc_hygw_ggong_ad_wylb1" class="" title="">范伟打天下</a></p>
                              <p class="gamesubt">500元宝礼包+7天白金会员，任领！</p>
                          </div>
                        </li><li class="">
                          <p class="fuwuimg">
                              <a title="" class="" target="_blank" href="http://act.niu.xunlei.com/2016/lycqhyzh/?advNo=201510160847712485&referfrom=v_pc_hygw_ggong_ad_wylb2" clickid="v_pc_hygw_ggong_ad_wylb2">
                                  <img width="286" height="230" class="" src="{{url('/home/picture/201607011602164181.jpg')}}" alt="">
                              </a>
                              <a class="iconyx ic_dy" title=""></a>
                          </p>
                          <div class="gametqinfos">
                              <p class="gametqname"><a target="_blank" href="http://act.niu.xunlei.com/2016/lycqhyzh/?advNo=201510160847712485&referfrom=v_pc_hygw_ggong_ad_wylb2" clickid="v_pc_hygw_ggong_ad_wylb2" class="" title="">蓝月传奇</a></p>
                              <p class="gamesubt">500元宝+7天白金会员，任领！</p>
                          </div>
                        </li><li class="">
                          <p class="fuwuimg">
                              <a title="" class="" target="_blank" href="http://act.vip.xunlei.com/vip/2016/cxfl/?referfrom=v_pc_hygw_ggong_ad_wylb3" clickid="v_pc_hygw_ggong_ad_wylb3">
                                  <img width="286" height="230" class="" src="{{url('/home/picture/201604281800208728.jpg')}}" alt="">
                              </a>
                              <a class="iconyx ic_dy" title=""></a>
                          </p>
                          <div class="gametqinfos">
                              <p class="gametqname"><a target="_blank" href="http://act.vip.xunlei.com/vip/2016/cxfl/?referfrom=v_pc_hygw_ggong_ad_wylb3" clickid="v_pc_hygw_ggong_ad_wylb3" class="" title="">极速下载2天体验</a></p>
                              <p class="gamesubt">限时领取</p>
                          </div>
                        </li><li class="">
                          <p class="fuwuimg">
                              <a title="" class="" target="_blank" href="http://act.vip.xunlei.com/vip/2016/51dps/?referfrom=v_pc_hygw_ggong_ad_wylb4" clickid="v_pc_hygw_ggong_ad_wylb4">
                                  <img width="286" height="230" class="" src="{{url('/home/picture/201604281114275138.jpg')}}" alt="">
                              </a>
                              <a class="iconyx ic_sy" title=""></a>
                          </p>
                          <div class="gametqinfos">
                              <p class="gametqname"><a target="_blank" href="http://act.vip.xunlei.com/vip/2016/51dps/?referfrom=v_pc_hygw_ggong_ad_wylb4" clickid="v_pc_hygw_ggong_ad_wylb4" class="" title="">手游五月盛宴</a></p>
                              <p class="gamesubt">海量会员+手游礼包大派送</p>
                          </div>
                        </li> </ul>
          </div>

        </div>
      </div>
      <!-- youximainlist end -->

      <div class="youximainlist modmag" id="fbtq">

        <div class="modtit">
          <h2>会员福利免费领</h2>
        </div>

        <div class="game_fahao">
          <div class="rowline">
            <div class="fuliinterul">
              <ul class="nol-item">
                <li data-item="GAME_SY_YZMY" data-url="http://niu.xunlei.com/entergame/yzmy/" data-img="" data-title="勇者盟约柠檬礼包" data-type="3">
                        <p class="interimg">
                            <a href="javascript:void(0)" class="" title="勇者盟约柠檬礼包">
                                <img width="386" height="180" class="" src="{{url('/home/picture/201512301829591064.jpg')}}" alt=""> <i class="iconyx ic_dy"></i>
                            </a>
                        </p>
                        <div class="bomlast">
                            <p class="bg"></p>
                            <p class="lastname">勇者盟约柠檬礼包</p>
                            <p class="lastnum">剩余<em>0</em></p>
                        </div>
                    </li><li data-item="GAME_SY_FBDL" data-url="http://niu.xunlei.com/entergame/fbdl/" data-img="" data-title="风暴大陆白银勇士礼包" data-type="3">
                        <p class="interimg">
                            <a href="javascript:void(0)" class="" title="风暴大陆白银勇士礼包">
                                <img width="386" height="180" class="" src="{{url('/home/picture/201512301832598804.jpg')}}" alt=""> <i class="iconyx ic_dy"></i>
                            </a>
                        </p>
                        <div class="bomlast">
                            <p class="bg"></p>
                            <p class="lastname">风暴大陆白银勇士礼包</p>
                            <p class="lastnum">剩余<em>0</em></p>
                        </div>
                    </li><li data-item="ACT_TIANXIA_02" data-url="http://tx3.163.com/" data-img="" data-title="天下3金色称谓+时装" data-type="3">
                        <p class="interimg">
                            <a href="javascript:void(0)" class="" title="天下3金色称谓+时装">
                                <img width="386" height="180" class="" src="{{url('/home/picture/201512301834427906.jpg')}}" alt=""> <i class="iconyx ic_yy"></i>
                            </a>
                        </p>
                        <div class="bomlast">
                            <p class="bg"></p>
                            <p class="lastname">天下3金色称谓+时装</p>
                            <p class="lastnum">剩余<em>0</em></p>
                        </div>
                    </li> </ul>
            </div>

          </div>

        </div>
      </div>
      <!-- youximainlist end -->

      <div class="youximainlist modmag">

        <div class="modtit">
          <h2>下载游戏</h2>
          <span class="titsubpic"></span>
          <div class="subtit tqintertitlink"></div>
        </div>

        <div class="downsgame">

          <div class="downmod dmod01">
            <span class="dmodtit"> <em class="icontit01"></em>
              热门游戏
            </span>

            <div class="dlistcon">
              <ul class="">
                @foreach($data as $k => $v)
                @if($v -> pid == $id)
                <li>
                    <p class="">
                        <img width="100" height="100" alt="" src="{{url('/uploads/games/imgs/')}}/{{$v -> time}}/{{$v -> logo}}" class=""></p>
                    <p class="dname">
                        <span target="_blank" class="" title="{{$v -> name}}">{{$v -> name}}</span>
                    </p>
                    <p class="dbtns">
                        <a href="{{url('/home/download')}}/{{$v -> id}}" class="nolmod-btn getbtndown" title="下载">下载</a>
                    </p>
                </li>
                @endif
                @endforeach
              </ul>
            </div>

          </div>
          <!-- downmod end-->
          
          <div class="downmod dmod02">
            <span class="dmodtit">
              <em class="icontit02"></em>
              最新游戏
            </span>

            <div class="dlistcon">
              <ul class="">
                @foreach($data as $k => $v)
                @if($v -> pid == $nid)
                <li>
                    <p class="">
                        <img width="100" height="100" alt="" src="{{url('/uploads/games/imgs/')}}/{{$v -> time}}/{{$v -> logo}}" class=""></p>
                    <p class="dname">
                        <span target="_blank" class="" title="{{$v -> name}}">{{$v -> name}}</span>
                    </p>
                    <p class="dbtns">
                        <a href="{{url('/home/download')}}/{{$v -> id}}" target="_blank" class="nolmod-btn getbtndown" title="下载">下载</a>
                    </p>
                </li>
                @endif
                @endforeach
              </ul>
            </div>

          </div>
          <!-- downmod end-->
          </div>
      </div>
      <!-- youximainlist end -->
      <!-- modwp end -->
    </div>
    <!-- hdmain end -->
  </div>
@endsection